package at.ac.tuwien.infosys.aic11.dto;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlTransient;

@XmlSeeAlso({BankTransfer.class, Cheque.class})
@XmlAccessorType(XmlAccessType.NONE)
public abstract class DisbursementPreference {
	
	@XmlTransient
	private long customerId;
	
	public DisbursementPreference(){}
	
	public DisbursementPreference(long customerId){
		this.customerId=customerId;
	}
	
	public long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(long customerId) {
		this.customerId = customerId;
	}
	
	public String toString(){
		return "customerId: "+customerId;
	}

}
